package com.coderman.common.starter.excelport.imports.beans;

import java.util.Map;

/**
 * Description:
 * date: 2020/9/15 5:47 下午
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public class PrimaryKeyBean {
    private String mainTableName;
    private String mainTableIdField;


    /**
     * 子表
     * key:子表表名
     * value:子表entity主键属性名
     */
    private Map<String,String> childTableMap;

    public String getMainTableName() {
        return mainTableName;
    }

    public void setMainTableName(String mainTableName) {
        this.mainTableName = mainTableName;
    }

    public String getMainTableIdField() {
        return mainTableIdField;
    }

    public void setMainTableIdField(String mainTableIdField) {
        this.mainTableIdField = mainTableIdField;
    }

    public Map<String, String> getChildTableMap() {
        return childTableMap;
    }

    public void setChildTableMap(Map<String, String> childTableMap) {
        this.childTableMap = childTableMap;
    }
}
